<?php 
$id_opera = intval($_GET['id']);
if($id_opera <= 0) {
	die("Errore: ID opera non valido! Chiamare ./print_opera?id=123");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $id_opera; ?></title>
</head>

<body>
<table width="100%" border="0">
  <tr>
    <td align="right"><img src="images/latino_logo.png" /></td>
  </tr>
  <tr>
    <td height="20">&nbsp;</td>
  </tr>
  <tr>
    <td align="center"><img src="images/uffizi/<?php echo $id_opera; ?>.jpg" height="600" /></td>
  </tr>
  <tr>
    <td height="20">&nbsp;</td>
  </tr>
  <tr>
    <td align="left"><img src="http://qrcode.kaywa.com/img.php?s=5&d=LATINO%7CDownload%20now%20%22Latino%22%20to%20interact%20with%20this%20place%21%20http%3A%2F%2Fbit.ly%2Flatinoandroid%20%7CO%7C<?php echo $id_opera; ?>" alt="qrcode" /><br /><?php echo $id_opera; ?></td>
  </tr>
</table>
</body>
</html>